* progmodes/cc-fonts.el (c-font-lock-declarators): Iff at the
authorChong Yidong <cyd@stupidchicken.com>
Wed, 15 Nov 2006 16:30:48 +0000 (16:30 +0000)
committerChong Yidong <cyd@stupidchicken.com>
Wed, 15 Nov 2006 16:30:48 +0000 (16:30 +0000)
top-level or inside a class declaration, use c-at-toplevel-p
rather than a variable instantiation to recognise a function
declaration.  Suggested by Feng Li <fengli@gmail.com>.

lisp/ChangeLog

index e29aa297509c962bcc76318f6e06364beab1451a..bd91e3bab50948d1f0fde2943cdedf0ddda4da07 100644 (file)
@@ -1,3 +1,10 @@
+2006-11-15  Simon Marshall  <simon@gnu.org>
+
+       * progmodes/cc-fonts.el (c-font-lock-declarators): Iff at the
+       top-level or inside a class declaration, use c-at-toplevel-p
+       rather than a variable instantiation to recognise a function
+       declaration.  Suggested by Feng Li <fengli@gmail.com>.
+
 2006-11-14  Stephen Leake  <stephen_leake@stephe-leake.org>
 
        * progmodes/ada-xref.el (ada-parse-prj-file):